package com.engine.ld.functions.sap.gjly;

public class ZMM_TOOLRECIPIENTS_IMPProxy implements ZMM_TOOLRECIPIENTS_IMP_PortType {
  private String _endpoint = null;
  private ZMM_TOOLRECIPIENTS_IMP_PortType zMM_TOOLRECIPIENTS_IMP_PortType = null;

  public ZMM_TOOLRECIPIENTS_IMPProxy() {
    _initZMM_TOOLRECIPIENTS_IMPProxy();
  }

  public ZMM_TOOLRECIPIENTS_IMPProxy(String endpoint) {
    _endpoint = endpoint;
    _initZMM_TOOLRECIPIENTS_IMPProxy();
  }

  private void _initZMM_TOOLRECIPIENTS_IMPProxy() {
    try {
      zMM_TOOLRECIPIENTS_IMP_PortType = (new ZMM_TOOLRECIPIENTS_IMP_ServiceLocator()).getZMM_TOOLRECIPIENTS_IMP();
      if (zMM_TOOLRECIPIENTS_IMP_PortType != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)zMM_TOOLRECIPIENTS_IMP_PortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)zMM_TOOLRECIPIENTS_IMP_PortType)._getProperty("javax.xml.rpc.service.endpoint.address");
      }

    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }

  public String getEndpoint() {
    return _endpoint;
  }

  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (zMM_TOOLRECIPIENTS_IMP_PortType != null)
      ((javax.xml.rpc.Stub)zMM_TOOLRECIPIENTS_IMP_PortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);

  }

  public ZMM_TOOLRECIPIENTS_IMP_PortType getZMM_TOOLRECIPIENTS_IMP_PortType() {
    if (zMM_TOOLRECIPIENTS_IMP_PortType == null)
      _initZMM_TOOLRECIPIENTS_IMPProxy();
    return zMM_TOOLRECIPIENTS_IMP_PortType;
  }

  public String ZMM_TOOLRECIPIENTS_IMP(String i_DATA) throws java.rmi.RemoteException{
    if (zMM_TOOLRECIPIENTS_IMP_PortType == null)
      _initZMM_TOOLRECIPIENTS_IMPProxy();
    return zMM_TOOLRECIPIENTS_IMP_PortType.ZMM_TOOLRECIPIENTS_IMP(i_DATA);
  }


}
